package com.lottery.ruok.lottrey.chat.event.listener;

import com.lottery.ruok.lottrey.eventbusObject.ChatPrivatePushInfo;

import org.greenrobot.eventbus.EventBus;

import io.rong.imlib.RongIMClient;
import io.rong.imlib.model.Message;

/**
 * 接收消息监听
 */
public class OnReceiveMessageListener implements RongIMClient.OnReceiveMessageListener {

    private static OnReceiveMessageListener onReceiveMessageListener;

    public static synchronized OnReceiveMessageListener getInstance() {
        if (onReceiveMessageListener == null) {
            onReceiveMessageListener = new OnReceiveMessageListener();
        }
        return onReceiveMessageListener;
    }

    @Override
    public boolean onReceived(Message message, int i) {

        return false;
    }
}
